package processes.createThreadsProcess;

import os.MiniOS;
import os.MiniProcess;
import os.MiniThread;

public class CreateThreadsProcess extends MiniProcess
{

	public CreateThreadsProcess(String user, String pid)
	{
		super(user, pid);
		name = "CreateThreads";
		description = "Creates multiple threads with printing commands";
	}

	@Override
	protected MiniThread createMainThread(String[] consoleArguments)
	{
		return MiniOS
				.getInstance()
				.createThread(
						pid,
						"processes.createThreadsProcess.CreateThreadsProcessMainThread",
						null);
	}

}
